package com.sz.admin.auditlog.pojo.po;

import com.mybatisflex.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import java.io.Serial;
import com.sz.mysql.EntityChangeListener;

/**
* <p>
* 已审核帖子记录
* </p>
*
* @author sz-admin
* @since 2025-06-30
*/
@Data
@Table(value = "audit_log", onInsert = EntityChangeListener.class, onUpdate = EntityChangeListener.class)
@Schema(description = "已审核帖子记录")
public class AuditLog implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id
    @Schema(description ="审核ID（处理时间6位yy-mm-dd + 用户ID12位 + 序列号6位）")
    private String auditId;

    @Schema(description ="帖子ID")
    private String postId;

    @Schema(description ="审核员ID")
    private String auditorId;

    @Schema(description ="审核状态: 1=通过 2=驳回")
    private Integer auditStatus;

    @Schema(description ="处理时间 (格式: yy-mm-dd:hh-mm-ss)")
    private String processedAt;

    @Schema(description ="创建时间 (格式: yy-mm-dd:hh-mm-ss)")
    private String createdAt;

    @Schema(description ="更新时间 (格式: yy-mm-dd:hh-mm-ss)")
    private String updatedAt;

    @Schema(description ="")
    private Integer isDeleted;

}